from pytxtconv import to_classname, to_cliname, to_compactname


def test_to_classname():
    assert to_classname('studio-3t') == 'Studio3t'
    assert to_classname('vmware-workstation') == 'VmwareWorkstation'


def test_to_cliname():
    assert to_cliname('Studio3t') == 'studio-3t'
    assert to_cliname('VmwareWorkstation') == 'vmware-workstation'


def test_to_compactname():
    assert to_compactname('studio-3t') == 'studio3t'
    assert to_compactname('Studio3t') == 'studio3t'
    assert to_compactname('vmware-workstation') == 'vmwareworkstation'
    assert to_compactname('VmwareWorkstation') == 'vmwareworkstation'
